package com.itheima.d02_io_char_weiter;

import java.io.*;

public class Test1 {
    public static void main(String[] args) throws IOException {
        FileReader fr=new FileReader("D:\\javabase_ws\\javaAdvanceProject\\day11_io\\src\\com\\itheima\\d02_io_char_weiter\\kun.txt");
        FileWriter fw=new FileWriter("D:\\javabase_ws\\javaAdvanceProject\\day11_io\\src\\com\\itheima\\d02_io_char_weiter\\aikun.txt");
//读取每一个字符
        int ch;
        while ((ch=fr.read())!=-1){
            fw.write((char)ch+ "♥");
        }
        fr.close();


    }
}
